package com.eastfair.home.api;

import com.eastfair.core.base.R;
import com.eastfair.home.dto.VenueReportDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 主场报馆 feign.
 *
 * @author dqq
 * @date 2022 /11/2
 */
@FeignClient(value = "home/venueReport")
public interface VenueReportFeign {

    /**
     * 批量保存主场报馆记录.
     *
     * @param list the list
     * @return the r
     */
    @PostMapping("/saveBatch")
    R<Boolean> saveBatch(@RequestBody List<VenueReportDTO> list);
}